﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace News
{
    public class Catalog
    {
        #region Properties

        private Int16 _Category_Id;
        private String _Lang_Id;
        private String _Category_Name;
        private String _Category_Title;
        private String _Category_Image;
        private String _Category_ImageDescription;
        private String _Category_Summary;
        private String _Category_Keyword;
        private Int16 _OrderKey;
        private Boolean _IsActive;

        public Int16 Id
        {
            get { return _Category_Id; }
            set { _Category_Id = value; }
        }

        public String LangId
        {
            get { return _Lang_Id; }
            set { _Lang_Id = value; }
        }

        public String Name
        {
            get { return _Category_Name; }
            set { _Category_Name = value; }
        }

        public String Title
        {
            get { return _Category_Title; }
            set { _Category_Title = value; }
        }

        public String Image
        {
            get { return _Category_Image; }
            set { _Category_Image = value; }
        }

        public String ImageDescription
        {
            get { return _Category_ImageDescription; }
            set { _Category_ImageDescription = value; }
        }

        public String Summary
        {
            get { return _Category_Summary; }
            set { _Category_Summary = value; }
        }

        public String Keyword
        {
            get { return _Category_Keyword; }
            set { _Category_Keyword = value; }
        }

        public Int16 OrderKey
        {
            get { return _OrderKey; }
            set { _OrderKey = value; }
        }

        public Boolean IsActive
        {
            get { return _IsActive; }
            set { _IsActive = value; }
        }

        #endregion

        #region Constructor

        public Catalog() { }
      
        public Catalog(Int16 Category_Id, String Category_Name, String Category_Title, String Category_Keyword)
        {
            _Category_Id = Category_Id;
            _Category_Name = Category_Name;
            _Category_Title = Category_Title;
            _Category_Keyword = Category_Keyword;
        }
    
        public Catalog(String Lang_Id, String Category_Name, String Category_Title, String Category_Image, String Category_ImageDescription, String Category_Summary, String Category_Keyword, Int16 OrderKey, Boolean IsActive)
        {
            _Lang_Id = Lang_Id;
            _Category_Name = Category_Name;
            _Category_Title = Category_Title;
            _Category_Image = Category_Image;
            _Category_ImageDescription = Category_ImageDescription;
            _Category_Summary = Category_Summary;
            _Category_Keyword = Category_Keyword;
            _OrderKey = OrderKey;
            _IsActive = IsActive;
        }


        public Catalog(Int16 Category_Id, String Lang_Id, String Category_Name, String Category_Title, String Category_Image, String Category_ImageDescription, String Category_Summary, String Category_Keyword, Int16 OrderKey, Boolean IsActive)
        {
            _Category_Id = Category_Id;
            _Lang_Id = Lang_Id;
            _Category_Name = Category_Name;
            _Category_Title = Category_Title;
            _Category_Image = Category_Image;
            _Category_ImageDescription = Category_ImageDescription;
            _Category_Summary = Category_Summary;
            _Category_Keyword = Category_Keyword;
            _OrderKey = OrderKey;
            _IsActive = IsActive;
        }

        #endregion
    }
}
